import pygame, os
HEIGHT = 640
WIDTH = 480
BACKGROUND = (255,255,5)

pygame.init()
window = pygame.display.set_mode((HEIGHT, WIDTH))
pygame.display.set_caption('Map Editor') 
imageDir = 'images/'
imageFiles = os.listdir(imageDir)
print imageFiles
screen = pygame.display.get_surface()
screen.fill(BACKGROUND)
imageNum = len(imageFiles)
print imageNum
images = []
for imagen in imageFiles:
    for n in range(imageNum):
	images.append(pygame.image.load(imageDir+imagen))
    
    


while 1:
    pygame.display.flip()
    











pygame.quit()